package com.lb.design.pattern.factory.abstractfacorymethod;

import com.lb.design.pattern.factory.IMobile;
import com.lb.design.pattern.factory.factorymethod.HuaweiMobileFactory;

/**
 * @author lb
 * @Title: HuaweiElectronicFactory
 * @Description: TODO
 * @date 2019/03/07  15:40
 */
public class HuaweiElectronicFactory implements IElectronicFactory {

    @Override
    public IMobile getMobile() {
        return new HuaweiMobileFactory().getMobile();
    }

    @Override
    public INoteBookComputer getNoteBookComputer() {
        return new HuaweiMateBook();
    }
}
